export interface Meta {
  title?: string;
  icon?: string;
  hidden?: boolean;
  link?: string | null;
}

export interface Child {
  id?: string | number;
  name?: string;
  path: string ;
  hidden?: boolean;
  component?: string | null;
  query?: string | null;
  meta: Meta | null;
  children?: Child[] | null;
}

export interface Parent {
  id?: string | number;
  name?: string | null;
  hidden?: boolean | null;
  redirect?: string | null;
  component?: string | null;
  alwaysShow?: boolean | null;
  query?: string | null;
  path: string ;
  meta?: Meta | null;
  children?: Child[] | null;
}

